<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Character
 *
 * @author Sedat Sevgili
 */
class Character {
    //put your code here
    
    public static function isLetter($inputCharacter) {
        return ('a' <= $inputCharacter && $inputCharacter <= 'z') || ('A' <= $inputCharacter && $inputCharacter <= 'Z');
    }
    
    public static function isWhitespace($inputCharacter) {
        return ($inputCharacter == ' ' || $inputCharacter == '\t' || $inputCharacter == '\n' || $inputCharacter == '\r');
    }
    
    public static function toLowerCase($inputCharacter) {
        return strtolower($inputCharacter);
    }
    
    public static function isLowerCase($inputCharacter) {
        return ($inputCharacter >= 'a' && $inputCharacter <= 'z');
    }
}